﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LoginCustom.aspx.cs" Inherits="FormsAuthWeb.LoginCustom" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>自定义登录</title>
    <link href="Scripts/bootstrap/v4.6.2/css/bootstrap.min.css" rel="stylesheet" />
    <link href="Styles/login.css" rel="stylesheet" />
    <script src="Scripts/jquery/v3.6.3/jquery.min.js"></script>
    <script src="Scripts/bootstrap/v4.6.2/js/bootstrap.min.js"></script>
</head>
<body class="text-center">
    <form class="form-signin" action="<%= Request.RawUrl %>" method="post">
        <img class="mb-4" src="./Images/bootstrap-solid.svg" alt="" width="72" height="72" />
        <h1 class="h3 mb-3 font-weight-normal">自定义登录</h1>
        <div class="form-group row">
            <div class="col-label">
                <label for="txtLoginName" class="col-form-label">用户名：</label>
            </div>
            <div class="col">
                <input type="text" id="txtLoginName" name="LoginName" class="form-control" placeholder="用户名" required="required" value="userzhang" autofocus="autofocus" />
            </div>
        </div>
        <div class="form-group row">
            <div class="col-label">
                <label for="txtUserId" class="col-form-label">用户ID：</label>
            </div>
            <div class="col">
                <input type="number" id="txtUserId" name="UserId" class="form-control" placeholder="用户ID" value="101" required="required" />
            </div>
        </div>
        <div class="form-group row">
            <div class="col-label">
                <label for="txtRoleId" class="col-form-label">角色ID：</label>
            </div>
            <div class="col">
                <input type="number" id="txtRoleId" name="RoleId" class="form-control" placeholder="角色ID" value="1" required="required" />
            </div>
        </div>
        <div class="form-group row">
            <div class="col-label">
                <label for="txtUserName" class="col-form-label">真实姓名：</label>
            </div>
            <div class="col">
                <input type="text" id="txtUserName" name="UserName" class="form-control" placeholder="用户全名" value="张三丰" required="required" />
            </div>
        </div>
        <div class="checkbox mb-3">
            <label>
                <input type="checkbox" id="chkRememberMe" name="RememberMe" />
                记住我
            </label>
        </div>
        <div class="button-group">
            <button class="btn btn-lg btn-primary btn-block" type="submit" name="UserLogin">登 录</button>
        </div>
        <p class="mt-5 mb-3 text-muted">&copy; 2017-2023</p>
    </form>
</body>
</html>
